@import '@/style/basics.scss';

.clearflex {
  *zoom: 1;
}

.clearflex:after {
  content: '';
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}

.fl-left {
  float: left;
}

.fl-right {
  float: right;
}

.mg {
  margin: 10px !important;
}

.left-mg-xs {
  margin-left: 6px !important;
}

.left-mg-sm {
  margin-left: 10px !important;
}

.left-mg-md {
  margin-left: 14px !important;
}

.top-mg-lg {
  margin-top: 20px !important;
}

.tb-mg-lg {
  margin: 20px 0 !important;
}

.bottom-mg-lg {
  margin-bottom: 20px !important;
}

.left-mg-lg {
  margin-left: 18px !important;
}

.title-1 {
  text-align: center;
  font-size: 32px;
}

.title-3 {
  text-align: center;
}

.main-color {
  color: $main-color !important;
}

// 流程状态颜色
.flow-status-color {
  color: $assist-color !important;
}

.view-container {
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;

  .filter-container {
    padding: 20px 0px 0px;
    background: #fff;
  }

  .main-content {
    flex: 1;
    padding: 20px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #fff;
  }

  .elTabs {
    display: flex;
    flex-direction: column;
    height: 100%;

    .el-tabs__content {
      flex: 1;
      overflow-y: auto;
    }
  }

  .info-container {
    margin-bottom: 20px;
    background: #fff;
    padding: 10px 20px;
  }

  .delete-btn {
    color: $delete-color;
    border-color: $delete-color;

  }

  .delete-btn:hover {
    background-color: #feeeed;
  }

  .delete-text-btn {
    color: $delete-color;

  }

  .dialog-footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tab-line {
    line-height: $page-x;
  }
}

.text-line-1 {
  overflow: hidden; //溢出隐藏
  white-space: nowrap; //禁止换行
  text-overflow: ellipsis; //...
}